package org.example.lost.service;

import org.example.domain.PageInfoDTO;
import org.example.domain.Result;
import org.example.lost.entity.LostInfo;
import org.example.lost.entity.vo.HistoryInfoVO;
import org.example.lost.entity.vo.LostInfoVO;

/**
 * @Author hxy
 * @Date 2021/3/15 10:40
 * @Version 1.0
 */
public interface LostService {
    int addLost(LostInfo lostInfo);

    /**
     * 查询寻物启事列表
     * @param lostInfoVO
     * @return
     */
    PageInfoDTO<LostInfo> getList(LostInfoVO lostInfoVO);

    int deleteLost(String lostId);

    int updateLost(LostInfo lostInfo);

    PageInfoDTO<LostInfo> getOne(HistoryInfoVO historyInfoVO);

    String returns(String userId, String lostId);

    int updateCheckStatus(String lostId, String status);
}
